<#import "../../layout.html" as c>
<#import "../../list_layout.html" as list>
<#assign alertList = []/>
<#assign alertList = alertList + ["论坛评论列表默认显示全部论坛，按添加时间顺序排列。可通过下级评论查看所有评论。"]/>
<#assign alertList = alertList + ["论坛评论删除后评论不可查看，上级评论删除后回复不可被查看。"]/>
<@c.html title="Index">
<@list.html title="论坛评论" subTitle="论坛评论" alertList=alertList permi="sys:forum:save" addBtn=true searchHint="请输入用户昵称/发行人名称/搜索">
</@list.html>
  <!-- ================== 开始页面所需CSS引入 ================== -->
  <!-- 富文本编辑器 -->
  <link type="text/css" rel="stylesheet" href="${pluginsRoot}ueditor/themes/default/css/ueditor.css">
  <link type="text/css" rel="stylesheet" href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/WdatePicker.css" />
  <link type="text/css" rel="stylesheet" href="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/skin/default/datepicker.css" />
  <!-- ================== 开始页面所需CSS引入 ================== -->


  <@shiro.hasPermission name="sys:forum:del">
  <input type="hidden" id="forumDel" value="1"/>
  </@shiro.hasPermission>
  <@shiro.hasPermission name="sys:comment:del">
  <input type="hidden" id="commentDel" value="1"/>
  </@shiro.hasPermission>
  <@shiro.hasPermission name="sys:forum:view">
  <input type="hidden" id="forumView" value="1"/>
  </@shiro.hasPermission>



  <!-- 开始查看模态窗口 -->
  <div class="modal fade" id="lookModal" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-lg">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
          <h4 class="modal-title"> 查看论坛 </h4>
        </div>
        <div class="modal-body">
          <ul class="collapse in text-info p-b-10 p-l-15" role="tabpanel" id="OperationTipsEdit">
          </ul>
          <div class="form-group">
            <label class="control-label">图片&nbsp;:</label>
            <div  id="picPath">
            </div>
          </div>
          <div class="form-group">
            <label class="control-label"> 内容&nbsp;:</label>
                <textarea id="contents" class="form-control" readonly="true">
                </textarea>
          </div>
          <!-- 结束设置模块-->
        </div>
        <div class="modal-footer"></div>
      </div>
    </div>
  </div>
  <!-- 结束编辑新闻模态窗口 -->


  <!-- ================== 开始页面级JavaScrip调用 ================== -->
  <!-- 表单checkbox项 -->
  <script src="${pluginsRoot}bootstrap-switch/bootstrap-switch.min.js"></script>
  <!-- 富文本编辑器 -->
  <script src="${pluginsRoot}ueditor/ueditor.config.js"></script>
  <script src="${pluginsRoot}ueditor/ueditor.all.js"></script>
  <script src="${pluginsRoot}ueditor/lang/zh-cn/zh-cn.js"></script>
  <!-- 时间控件 -->
  <script src="${pluginsRoot}/jquery.dtGrid/dependents/datePicker/WdatePicker.js" defer="defer"></script>

  <script src="${jsRoot}propaganda/forum.handle.js"></script>
  <!-- ================== 结束页面级JavaScrip调用 ================== -->
</@c.html>
